// 全局共享数据示例
import { useState } from 'react';
import { getUserInfo } from '@/services/UserController';

const useUser = () => {


    const [name, setName] = useState<API.UserInfo>();

    return {
        name,
        setName,
    };
};

export default useUser;
